class PortalCornerMarkData {
  int? count;

  PortalCornerMarkData({this.count});

  factory PortalCornerMarkData.fromJson(Map<String, dynamic> json) =>
      PortalCornerMarkData(count: json["count"]);
}

class PortalPageArgments {
  String portalId;
  String title;
  String? pageId;
  String? portalParameters;

  PortalPageArgments(
      {required this.portalId,
      required this.title,
      this.pageId,
      this.portalParameters});

  factory PortalPageArgments.fromJson(Map<String, dynamic> json) =>
      PortalPageArgments(
          portalId: json["portalId"] ?? '',
          title: json["title"] ?? '',
          pageId: json["pageId"],
          portalParameters: json["portalParameters"]);

  Map<String, dynamic> toJson() => {
        "portalId": portalId,
        "title": title,
        "pageId": pageId,
        "portalParameters": portalParameters
      };
}
